function validateForm(){
    if(description.value == ""){
        alert("Ingrese la Descripcion de la red");
    }else{
        document.getElementById("form").submit();
    }
    
}

function clearInput(){
    $('#description').val('');
}

function confirmDelete(record){
    $('#id').val(record); 
}

function submitDelete(){
  // window.location.href = 'delete?id='+$('#id').val();
//  alert('delete?id='+$('#id').val()+"&module="+$('#TxtModule').val());
    document.getElementById("form").action = 'delete?id='+$('#id').val()+"&module="+$('#module').val();
    document.getElementById("form").submit();  
}

